﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using Microsoft.Practices.ServiceLocation;
using TimeTravel.IServices;

namespace TimeTravel.Controllers.System
{
    public partial class SystemController : BaseController
    {
        static readonly IMailTemplateService MailTemplateService = ServiceLocator.Current.GetInstance<IMailTemplateService>();
        public PartialViewResult MailTemplate()
        {
            var mailTemplateList = MailTemplateService.GetAll();
            return PartialView(SubPagePath + "_MailTemplate.cshtml", mailTemplateList);
        }

        public ActionResult AddMailTemplate()
        {
            return null;
        }

        public ActionResult UpdateMailTemplate()
        {
            return null;
        }

        public ActionResult DeleteMailTemplate()
        {
            return null;
        }
    }
}
